# from langchain_ollama import ChatOllama

# llm = ChatOllama(
#     base_url="http://171.212.137.158:11434",
#     model="qwen2.5:32b",
#     temperature=0,
#     num_ctx=32768,
# )

from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    # openai_api_key="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",  # gtihub
    # openai_api_key="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",  # 谷歌
    openai_api_key="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",  # 公司
    openai_api_base="https://openrouter.ai/api/v1",
    # model_name="deepseek/deepseek-chat-v3-0324:free",
    # model_name="qwen/qwen3-32b:free",
    model_name="qwen/qwen3-32b:free",
    extra_body={"enable_thinking": False},
)
